package com.aiyige.model.moment.entity;

public class PersistentMapping {
    public String persistentId;
    public String url;

    public PersistentMapping() {
    }

    private PersistentMapping(Builder builder) {
        persistentId = builder.persistentId;
        url = builder.url;
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public static final class Builder {
        private String persistentId;
        private String url;

        private Builder() {
        }

        public Builder persistentId(String val) {
            persistentId = val;
            return this;
        }

        public Builder url(String val) {
            url = val;
            return this;
        }

        public PersistentMapping build() {
            return new PersistentMapping(this);
        }
    }
}
